home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global gCurrentNumber, gTotalNumofPages, gQuestion
- if rollOver(6) then
- puppetSprite(6, 1)
- set the castNum of sprite 6 to cast "b060.roll"
- updateStage()
- else
- set the castNum of sprite 6 to cast "b060"
- updateStage()
- end if
- if rollOver(7) then
- puppetSprite(7, 1)
- set the castNum of sprite 7 to cast "b061.roll"
- updateStage()
- else
- set the castNum of sprite 7 to cast "b061"
- updateStage()
- end if
- if rollOver(8) then
- puppetSprite(8, 1)
- set the castNum of sprite 8 to cast "b062.roll"
- updateStage()
- else
- set the castNum of sprite 8 to cast "b062"
- updateStage()
- end if
- if rollOver(5) then
- puppetSprite(5, 1)
- set the castNum of sprite 5 to cast "b059.roll"
- updateStage()
- else
- set the castNum of sprite 5 to cast "b059"
- updateStage()
- end if
- if gCurrentNumber < gTotalNumofPages then
- if rollOver(13) then
- puppetSprite(13, 1)
- set the castNum of sprite 13 to cast "b015.roll"
- updateStage()
- else
- set the castNum of sprite 13 to cast "b015"
- updateStage()
- end if
- else
- nothing()
- end if
- if gCurrentNumber > 1 then
- if rollOver(14) then
- puppetSprite(14, 1)
- set the castNum of sprite 14 to cast "b017.roll"
- updateStage()
- else
- set the castNum of sprite 14 to cast "b017"
- updateStage()
- end if
- else
- nothing()
- end if
- if rollOver(16) then
- puppetSprite(18, 1)
- if gQuestion then
- set the castNum of sprite 18 to cast "b058n"
- updateStage()
- else
- set the castNum of sprite 18 to cast "b057r"
- updateStage()
- end if
- else
- if rollOver(17) then
- puppetSprite(18, 1)
- if gQuestion then
- set the castNum of sprite 18 to cast "b058r"
- updateStage()
- else
- set the castNum of sprite 18 to cast "b057n"
- updateStage()
- end if
- else
- if gQuestion then
- set the castNum of sprite 18 to cast "b058n"
- updateStage()
- else
- set the castNum of sprite 18 to cast "b057n"
- updateStage()
- end if
- end if
- end if
- mainMenuRollovers()
- go(the frame)
- end
-